import { JSX } from "react"

type IFilterItem = {
    children?: JSX.Element[] | JSX.Element;
    title?: string;
}

function FilterItem({ children, title }: IFilterItem) {
    return (
        <>
            <div className="pt-[24px] pl-[32px]">
                <h2 className="pl-[3px] mb-[12px] text-[28px] leading-[30px] h-[30px]">
                    {title}
                </h2>
                {children}
            </div>
        </>
    )
}
export default FilterItem